<template>
  <section class="component-box">
    <h2 class="h2">本地日志</h2>
    <el-scrollbar max-height="200px">
        <p v-for="(item, idx) in modelValue" :key="idx">{{ item }}</p>
    </el-scrollbar>
  </section>
</template>
<script lang="ts" setup>
import { ref } from "vue";
defineProps({
    modelValue: {
        type: Array,
        required: true
    }
})
</script>
<style lang="scss" scoped>
.component-box {
    height: 224px;
}
</style>